/*
 * @Description: 字典、配置
 * @Author: DHL
 * @Date: 2022-01-15 10:14:47
 * @LastEditors: DHL
 * @LastEditTime: 2022-01-24 09:06:40
 */

import { Result } from '@/model/baseModel'
import { $post } from '@/utils/http'

/**
 * 查询缓存数据
 * @returns
 */
export const apiCacheSearchList = () =>
  $post<Result<any>>({
    url: '/common/getCacheData'
  })

/**
 * 刷新缓存数据
 * @returns
 */
export const apiCacheRefresh = () =>
  $post<Result<any>>({
    url: '/common/refreshCacheData'
  })
